<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<div id="posts">
	<div class="post">
		<html:form action="habitacion">
		<input type="hidden" name="metodo" value="lista"/>
		<h2 class="title">Informacion de Habitacion</h2>
			<div class="story">
			<table>
				<tr>
					<td>Numero:</td>
					<td><bean:write name="dhab" property="numero" scope="request"/></td>
				</tr>
				<tr>
					<td>Piso:</td>
					<td><bean:write name="dhab" property="piso" scope="request"/></td>
				</tr>
				<tr>
					<td>Tipo:</td>
					<td><bean:write name="dhab" property="tipohabitacion.nombre" scope="request"/></td>
				</tr>
				<tr>
					<td>Categoria:</td>
					<td><bean:write name="dhab" property="categoria.nombre" scope="request"/></td>
				</tr>
				<tr>
					<td>Precio Base:</td>
					<td><bean:write name="dhab" property="precioBase" scope="request"/></td>
				</tr>
				<tr>
					<td>Estado:</td>
					<td>
					<html:select property="estado" name="dhab" disabled="true">
							<html:option value="0">libre</html:option>
							<html:option value="1">reservada</html:option>
							<html:option value="2">hospedaje</html:option>
							<html:option value="3">mantenimiento</html:option>
						</html:select>
					</td>
				</tr>
			</table>
			
			<p><input name="btnRegistrar" value="Regresar" type="submit" class="input-normalb"></input></p>
			
			</div>
		</html:form>
	</div>
</div>